<?php
return [
    'http' => [
        'host' => '127.0.0.1',
        'port' => 8090,
        'packSize' => 10485760, // 包体大小 10M
        'tempDir' => '' // 临时文件地址 可为空
    ],
    'workman' => [
        'default' => 'http',
        'http' => [
            'type' => 'http',
            'host' => '127.0.0.1',
            'port' => 8090,
            // callback 回调地址
            'handle' => \iflow\socket\workman\http\handle::class
        ],
        'websocket' => [
            'type' => 'websocket',
            'host' => '127.0.0.1',
            'port' => 8091,
            // callback 回调地址
            'handle' => \app\im\handle\event\workMan::class,
            // websocket 接受信息回调参数
            'event' => \app\im\handle\workManEvent::class,
            'context' => [],
            'ping_interval' => 25000,
            'ping_timeout'  => 60000
        ]
    ]
];
